package com.yc.rh.biz.impl;

import java.util.List;

import com.yc.rh.biz.IBigFlvInfoBiz;
import com.yc.rh.dao.IBigFlvInfoDao;
import com.yc.rh.entities.BigFlvInfo;

public class BigFlvInfoBizImpl implements IBigFlvInfoBiz{
	private IBigFlvInfoDao bigFlvInfoDao;

	public void setBigFlvInfoDao(IBigFlvInfoDao bigFlvInfoDao) {
		this.bigFlvInfoDao = bigFlvInfoDao;
	}

	@Override
	public int addBigFlv(BigFlvInfo bfi) {
		return bigFlvInfoDao.addBigFlv(bfi);
	}

	@Override
	public List<BigFlvInfo> find(Integer pageNo, Integer pageSize) {
		return bigFlvInfoDao.find(pageNo, pageSize);
	}

	@Override
	public int getTotal() {
		return bigFlvInfoDao.getTotal();
	}

	@Override
	public BigFlvInfo find(Integer bid) {
		return bigFlvInfoDao.find(bid);
	}

	@Override
	public int findImg(String date) {
		return bigFlvInfoDao.findImg(date);
	}

	@Override
	public int updateInfo(BigFlvInfo bfi) {
		return bigFlvInfoDao.updateInfo(bfi);
	}

	@Override
	public int delInfo(String bid) {
		return bigFlvInfoDao.delInfo(bid);
	}
}

